package lv.imho.server.services.population.entities;

import java.util.Date;

/**
 * Represents data that are result of semantic orientation resource.
 * 
 * @author Igors Gulbinskis
 */
public class SOResourceResult {
	
	private static final long serialVersionUID = 1L;
	
	private Long     id;
	private Long     dataSourceId;
	private String   heading;
	private String   text;
	private Double   evaluation;
	private Date     time;
	private Boolean  skipped;
	private String[] neutralPhrases;
	private String[] positivePhrases;
	private Double[] positiveSemanticOrientations;
	private String[] negativePhrases;
	private Double[] negativeSemanticOrientations;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getDataSourceId() {
		return dataSourceId;
	}
	
	public void setDataSourceId(Long dataSourceId) {
		this.dataSourceId = dataSourceId;
	}
	
	public String getHeading() {
		return heading;
	}

	public void setHeading(String heading) {
		this.heading = heading;
	}

	public String getText() {
		return text;
	}
	
	public void setText(String text) {
		this.text = text;
	}
	
	public Double getEvaluation() {
		return evaluation;
	}
	
	public void setEvaluation(Double evaluation) {
		this.evaluation = evaluation;
	}
	
	public Date getTime() {
		return time;
	}
	
	public void setTime(Date time) {
		this.time = time;
	}

	public Boolean getSkipped() {
		return skipped;
	}
	
	public void setSkipped(Boolean skipped) {
		this.skipped = skipped;
	}
	
	public void setNeutralPhrases(String[] neutralPhrases) {
		this.neutralPhrases = neutralPhrases;
	}
	
	public String[] getNeutralPhrases() {
		return neutralPhrases;
	}
	
	public void setPositivePhrases(String[] positivePhrases) {
		this.positivePhrases = positivePhrases;
	}
	
	public String[] getPositivePhrases() {
		return positivePhrases;
	}		

	public void setPositiveSemanticOrientations(
		Double[] positiveSemanticOrientations) {
		this.positiveSemanticOrientations = positiveSemanticOrientations;
	}
	
	public Double[] getPositiveSemanticOrientations() {
		return positiveSemanticOrientations;
	}
	
	public void setNegativePhrases(String[] negativePhrases) {
		this.negativePhrases = negativePhrases;
	}
	
	public String[] getNegativePhrases() {
		return negativePhrases;
	}

	public void setNegativeSemanticOrientations(
		Double[] negativeSemanticOrientations) {
		this.negativeSemanticOrientations = negativeSemanticOrientations;
	}
	
	public Double[] getNegativeSemanticOrientations() {
		return negativeSemanticOrientations;
	}
	
}
